package ch.mueller.android.todo.controller;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import ch.mueller.android.todo.model.TodoItems;

public class ToDo_SQLOpenHelper extends SQLiteOpenHelper {

    private static final String TODO_DB = "todo.db";
    private static final int DB_VERSION = 1;

    public ToDo_SQLOpenHelper(Context context) {
        super(context, TODO_DB, null, DB_VERSION);
    }

    @Override
    public void onCreate(SQLiteDatabase db) {
        db.execSQL(TodoItems.getTableCreateString());

    }

    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {

    }

}
